<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2021/12/1
 * Time: 10:13
 */
namespace user;


echo '用户首页';
echo '<br />';

use user\kind\basics;
include 'kind\basics.php';

echo '基础类';
echo '<br />';
$basicsObject = new basics();
$basicsObject->nickname();//昵称
echo '<br />';
$basicsObject->createTime();//创建时间
echo '<br />';
echo '------------------------------';
echo '<br />';


echo '客户类';
echo '<br />';
use user\kind\client;
include 'kind\client.php';
$clientObject = new client(0,'340.5',15113);
$clientObject->nickname();//昵称
echo '<br />';
$clientObject->createTime();//创建时间
echo '<br />';
$clientObject->balance();//余额
echo '<br />';
$clientObject->consumptionTotalMoney();//消费总金额
echo '<br />';
$clientObject->is_line();//是否在线
echo '<br />';
echo '------------------------------';
echo '<br />';


echo '商家类';
echo '<br />';
use user\kind\merchant;
include 'kind\merchant.php';
$merchantObject = new merchant('亟亟','老王');
$merchantObject->nickname();//昵称
echo '<br />';
$merchantObject->createTime();//创建时间
echo '<br />';
$merchantObject->Corp();
echo '<br />';
$merchantObject->product();//产品
echo '<br />';
$merchantObject->monthlySalesVolume();//月销售额
echo '<br />';

$merchantObject->storeSit();//商店地址
echo '<br />';
$merchantObject->storeCreateTime();//商店创建时间
echo '<br />';












